.Product {
    width: 1200px;
    min-width: 100%;
    height: auto;
    display: grid;
    place-items: center;
    background-color: #f5f5f5;

    .bread {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        padding-left: 160px;
    }

    .goodSelect {
        width: 1200px;
        background-color: white;

        border-radius: 6px;
        display: flex;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        -o-border-radius: 6px;

        .left {
            width: 480px;
            height: 100%;
            padding: 30px;

            .img {
                width: 480px;
                height: 400px;
                display: flex;
                position: relative;

                .bigImgBox {
                    width: 400px;
                    height: 400px;


                    .bigImg {
                        width: 400px;
                        height: 400px;

                        &:hover {
                            border: none;
                        }
                    }

                    span {
                        cursor: pointer;
                        position: absolute;
                        width: 200px;
                        height: 200px;
                        background-color:
                            rgba($color: #000000, $alpha: 0.3);
                        left: 0;
                        z-index: 999;
                        display: none;
                    }
                }

                .magnifier {
                    width: 400px;
                    height: 400px;
                    position: absolute;
                    left: 410px;
                    top: 0px;


                    span {
                        width: 400px;
                        height: 400px;


                    }

                }

                div {
                    width: 80px;
                    height: 400px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: flex-end;
                    flex-wrap: wrap;


                    img {
                        width: 70px;
                        height: 70px;
                        cursor: pointer;
                        z-index: 998;

                        &:hover {
                            border: 2px solid #27ba9b;
                        }
                    }
                }
            }

            .info {
                width: 480px;
                height: 150px;
                display: flex;
                justify-content: flex-start;
                align-items: center;

                div {
                    position: relative;
                    margin-top: 50px;
                    width: 100px;
                    height: 150px;

                    span {
                        display: grid;
                        place-items: center;
                        width: 100px;
                        height: 30px;
                        font-size: 14px;
                    }

                    span:first-child {
                        color: #999;
                    }

                    span:nth-child(2) {
                        color: #cf4444;
                    }

                    span:last-child {
                        color: #666666;
                    }




                }

                div::after {
                    content: '';
                    position: absolute;
                    width: 1px;
                    height: 60px;
                    background-color: #ddd;
                    right: 0;
                    top: 15px;
                }

                div:last-child::after {
                    width: 0;
                }


            }
        }

        .right {
            width: 700px;
            height: 100%;
            padding: 30px;
            padding-left: 80px;

            .desc {
                width: 100%;

                >span {
                    display: block;
                    height: 30px;
                    margin: 10px 0;

                }

                span:first-child {
                    font-size: 22px;
                    margin: 0;

                }

                span:nth-child(2) {
                    font-size: 14px;
                    height: 20px;
                    color: #999999;
                }

                div {
                    height: 30px;
                    font-size: 22px;
                    color: #cf4444;
                    letter-spacing: 1px;

                    span:last-child {
                        margin-left: 20px;
                        font-size: 16px;
                        color: #999999;
                        text-decoration: line-through;

                    }


                }
            }

            .service {
                background-color: #f5f5f5;
                width: 500px;
                height: 150px;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                align-items: center;
                padding: 10px;
                margin: 10px 0;

                div {
                    width: 100%;
                    font-size: 14px;
                    color: #666666;

                    span:first-child {
                        color: black;
                        margin-right: 20px;
                    }
                }
            }

            .sku {
                width: 500px;
                margin: 20px 0;

                div {
                    width: 100%;
                    height: auto;
                    display: flex;
                    align-items: center;

                    span {
                        width: 50px;
                        color: #999999;
                        font-size: 14px;
                        margin-right: 20px;
                    }

                    div {
                        display: flex;
                        flex-wrap: wrap;

                        img {
                            width: 50px;
                            height: 50px;
                            margin: 10px;
                            border: 1px solid #ddd;
                            cursor: pointer;

                            &.active {
                                transform: scale(1.1);
                                -webkit-transform: scale(1.1);
                                -moz-transform: scale(1.1);
                                -ms-transform: scale(1.1);
                                -o-transform: scale(1.1);
                                border: 1px solid #27ba9b;
                            }

                            &:hover {
                                transform: scale(1.1);
                                -webkit-transform: scale(1.1);
                                -moz-transform: scale(1.1);
                                -ms-transform: scale(1.1);
                                -o-transform: scale(1.1);
                                transition: all linear 0.2s;
                                -webkit-transition: all linear 0.2s;
                                -moz-transition: all linear 0.2s;
                                -ms-transition: all linear 0.2s;
                                -o-transition: all linear 0.2s;
                                border: 1px solid #27ba9b;
                            }
                        }

                        span {
                            cursor: pointer;
                            padding: 5px;
                            margin: 10px;
                            width: auto;
                            height: 30px;
                            display: grid;
                            place-items: center;
                            border: 1px solid #ddd;
                            border-radius: 2px;
                            -webkit-border-radius: 2px;
                            -moz-border-radius: 2px;
                            -ms-border-radius: 2px;
                            -o-border-radius: 2px;

                            &.active {
                                transform: scale(1.1);
                                -webkit-transform: scale(1.1);
                                -moz-transform: scale(1.1);
                                -ms-transform: scale(1.1);
                                -o-transform: scale(1.1);
                                border: 1px solid #27ba9b;
                            }

                            &:hover {
                                transform: scale(1.1);
                                -webkit-transform: scale(1.1);
                                -moz-transform: scale(1.1);
                                -ms-transform: scale(1.1);
                                -o-transform: scale(1.1);
                                transition: all linear 0.2s;
                                -webkit-transition: all linear 0.2s;
                                -moz-transition: all linear 0.2s;
                                -ms-transition: all linear 0.2s;
                                -o-transition: all linear 0.2s;
                                border: 1px solid #27ba9b;

                            }


                        }
                    }
                }
            }

            .numberBox {
                width: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;

                >span {
                    color: #999999;
                }

                div {
                    display: flex;

                    span {
                        font-size: 18px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 30px;
                        height: 30px;
                        border: 1px solid #e4e4e4;
                        background-color: #f8f8f8;
                        cursor: pointer;

                        &:not(:nth-child(2)):hover {
                            background-color: #27ba9b;
                            color: white;
                        }
                    }

                    span:nth-child(2) {
                        background-color: #ffffff;
                        width: 50px;
                        font-size: 16px;
                        cursor: text;


                    }
                }
            }

            .addButton {
                width: 100%;
                margin-top: 30px;

                Button {
                    background-color: #27ba9b;
                    width: 200px;
                    height: 50px;
                    font-size: 18px;
                }
            }
        }
    }

    .goodsLike {
        width: 1200px;
        height: 450px;
        background-color: white;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        -o-border-radius: 6px;
        margin: 30px 0;

        .title {
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            font-size: 20px;
            color: #333;
            padding-left: 40px;




        }

        div {
            width: 100%;
            height: 300px;
            display: flex;
            justify-content: space-around;
            align-items: center;

            li {
                &:hover {
                    transform: translateY(-5px) scale(1.02);
                    -webkit-transform: translateY(-5px) scale(1.02);
                    -moz-transform: translateY(-5px) scale(1.02);
                    -ms-transform: translateY(-5px) scale(1.02);
                    -o-transform: translateY(-5px) scale(1.02);
                }

                transition: all linear 0.2s;
                box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                border-radius: 5px;
                display: flex;
                flex-wrap: wrap;
                list-style: none;
                justify-content: center;
                cursor: pointer;
                width: 200px;
                height: 280px;
                border-radius: 5px;

                img {
                    width: 200px;
                    height: 200px;
                }

                span {
                    padding: 0 20px;
                    display: block;
                    line-height: 40px;
                    height: 40px;
                    font-size: 16px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }

                span:last-child {
                    color: #cf4444;
                }
            }
        }
    }

    .contentBox {
        width: 1200px;
        height: auto;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;

        .goodsDetail {
            width: 900px;
            height: auto;
            background-color: white;
            border-radius: 6px;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            -ms-border-radius: 6px;
            -o-border-radius: 6px;
            padding: 0 40px;

            .title {
                width: 100%;
                height: 70px;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                border-bottom: 1px solid #f5f5f5;

                span {
                    line-height: 60px;

                    &:hover {
                        cursor: pointer;
                    }

                    &.active {
                        border-bottom: 3px solid #27ba9b;

                    }

                    font-size: 18px;
                    color: #333333;
                    margin-right: 40px;
                }
            }

            .attrs {
                width: 100%;
                height: auto;
                display: flex;
                flex-wrap: wrap;

                div {

                    width: 100%;
                    display: flex;
                    align-items: center;
                    min-height: 50px;



                    div:first-child {
                        width: 20%;
                        font-size: 14px;
                        margin-right: 40px;
                        color: #999999;
                    }

                    div:last-child {

                        color: #666666;
                        font-size: 14px;
                    }
                }
            }

            .imgs {
                img {
                    margin: -3px 0;
                }
            }
        }

        .goodsComment {
            width: 100%;
            height: auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;

            .left {
                width: 40%;
                height: 200px;
                display: flex;

                div {
                    width: 50%;
                    height: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;


                    span:first-child {
                        display: flex;
                        justify-content: center;
                        align-items: flex-end;
                        font-size: 32px;
                        color: #cf4444;
                        width: 100%;
                        height: 50%;
                    }

                    span:last-child {
                        width: 100%;
                        height: 50%;
                        display: flex;
                        justify-content: center;
                        align-items: flex-start;

                        font-size: 14px;
                        color: #999999;
                    }
                }

            }

            >.right {
                width: 50%;
                height: 150px;
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                grid-template-rows: 1fr 1fr;
                align-items: center;
                justify-items: center;

                >span {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 120px;
                    height: 40px;
                    font-size: 14px;
                    background-color: #F5F5F5;
                    color: black;
                    cursor: pointer;

                    &.active {
                        background-color: #27ba9b;
                        color: white;

                    }
                }


            }

            .sortTag {
                width: 100%;
                height: 60px;
                display: flex;
                justify-content: space-between;
                align-items: center;

                span {
                    background: none;
                    width: auto;
                    height: auto;
                    color: black;
                    font-size: 14px;
                    margin: 0 20px;
                    cursor: pointer;

                    &.active {
                        color: #27ba9b;
                        background: none;
                    }
                }
            }

            .commentContent {
                width: 100%;
                height: auto;
                display: flex;
                flex-wrap: wrap;

                .item {
                    width: 100%;
                    min-height: 150px;
                    display: flex;
                    padding: 20px;
                    background-color: #ffffff;
                    margin: 10px 0;
                    border-radius: 4px;
                    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

                    .left {
                        width: 20%;

                        img {
                            width: 40px;
                            height: 40px;
                            border-radius: 100%;
                            -webkit-border-radius: 100%;
                            -moz-border-radius: 100%;
                            -ms-border-radius: 100%;
                            -o-border-radius: 100%;
                        }
                    }

                    .right {
                        width: 80%;
                        display: flex;
                        flex-wrap: wrap;

                        .specifications {
                            width: 100%;
                            margin-bottom: 10px;
                            color: #666;
                        }

                        .content {
                            width: 100%;
                            height: auto;
                            line-height: 1.5;
                            color: #333;
                            margin: 10px 0;
                        }

                        .dateAndgiveTheThumbsUp {
                            width: 100%;
                            display: flex;
                            justify-content: space-between;
                            color: #999;
                            font-size: 14px;
                            margin-top: 10px;
                        }
                    }
                }
            }
        }

        .hotSellingList {
            width: 280px;

            border-radius: 6px;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            -ms-border-radius: 6px;
            -o-border-radius: 6px;

            .title {
                margin: 10px 0;
                width: 100%;
                height: 70px;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                background-color: #e26237;

                span {
                    font-size: 18px;
                    color: white;
                    padding-left: 20px;
                }


            }

            .content {
                margin-bottom: 50px;
                background-color: white;
                width: 100%;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                align-items: center;
                padding: 20px 0;

                li {
                    padding: 10px;

                    &:hover {
                        transform: translateY(-5px) scale(1.02);
                        -webkit-transform: translateY(-5px) scale(1.02);
                        -moz-transform: translateY(-5px) scale(1.02);
                        -ms-transform: translateY(-5px) scale(1.02);
                        -o-transform: translateY(-5px) scale(1.02);
                    }

                    transition: all linear 0.2s;
                    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                    border-radius: 5px;
                    display: flex;
                    flex-wrap: wrap;
                    list-style: none;
                    justify-content: center;
                    cursor: pointer;
                    width: 200px;
                    height: 280px;
                    margin: 10px 0;

                    img {
                        width: 180px;
                        height: 180px;
                    }

                    span {
                        padding: 0 20px;
                        display: block;
                        line-height: 20px;
                        height: 20px;
                        font-size: 14px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }

                    span:nth-child(3) {
                        color: #666;
                    }

                    span:last-child {
                        color: #cf4444;
                    }
                }
            }
        }
    }
}

:global {
    .ant-message {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .ant-message-notice-content {
        padding: 12px 24px !important;
        border-radius: 4px !important;
    }

    .custom-message {
        // 自定义消息样式
        margin-top: 20vh;
    }
}